Squashed commit of the following:

commit c6bf3a2025e86b34512a995ea8b1e45d7586860f
Author: Barosl LEE <vcs@barosl.com>
Date:   Wed May 29 12:54:29 2013 +0900

    Implement bracketed paste mode

    Allow bracketed paste mode-setting control sequences to be passed to the
    outer terminal.

    Signed-off-by: Barosl LEE <vcs@barosl.com>

    Closes #430

commit 06561d350036d972507dc155ee10dfa65f9d697e
Author: Daniel "Tracerneo" Ziółkowski <ziolkoneo@gmail.com>
Date:   Fri Jun 28 04:28:32 2013 +0200

    Add support for ECMA-48 escape sequence for italic

    Closes #443

commit d8711618c90e591449aeda8c27fb02b3ff96b39c
Author: Andrew Chin <achin@eminence32.net>
Date:   Tue May 14 19:58:58 2013 -0400

    Set MACOSX_DEPLOYMENT_TARGET so that older macs can run the mosh binaries

    Closes #424

commit c3e31f1d710dd4380c3eb6dd79024263ae567bd8
Author: Keith Winstein <keithw@mit.edu>
Date:   Wed Jun 5 19:19:05 2013 +0200

    Get rid of obsolete DM-Upload-Allowed field

commit f960a8bcf56294ca7aafe3c14fc8c8c4c3941535
Author: Timo J. Rinne <tri@iki.fi>
Date:   Thu May 16 18:09:15 2013 +0000

    mosh-client: Make terminal escape character configurable

    Uses environment variable MOSH_ESCAPE_KEY. Defaults to current Ctrl-^
    which is somewhat problematic for many non-US keyboards.

    Signed-off-by: Timo J. Rinne <tri@iki.fi>

    Closes #425. Closes #215.

commit 4792992afa78d606fff35346bcce5a819fc72b69
Author: Keith Winstein <keithw@mit.edu>
Date:   Sun Apr 28 15:33:36 2013 -0400

    Rename --bind-ip to --bind-server, add =ANY option, add error checking.

    Closes #415.

commit fc70612de6d1390c943b7a470699e73dced5f110
Author: Philipp Haselwarter <philipp@haselwarter.org>
Date:   Tue Apr 16 18:37:40 2013 +0200

    mosh perl wrapper: New option --bind-ip={ssh|IP}

    Allow overriding the switch passed to mosh-server from -s to -i IP.

    Signed-off-by: Philipp Haselwarter <philipp@haselwarter.org>

commit 9314ea18fab323f3b981a412d7a765f66abfaab3
Author: Jérémie Courrèges-Anglas <jca@wxcvbn.org>
Date:   Tue Apr 16 11:11:45 2013 +0200

    use betoh64 if be64toh not found

    Instead of looking for htobe64 which is be available both when
    be64toh or betoh64 are, check for the latter functions.  If we
    find betoh64 but not be64toh, use compat #defines.  If both
    can't be found, search for OSX' OSSwapHostToBigInt64.
    Also include sys/types.h in byteorder.h (which is necessary for
    byteorder functions on OpenBSD), and incidentally fixes build
    of networkfragment.cc.

    Fixes build on OpenBSD

    Signed-off-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org>

commit 24b078a5a126fc7c7c207747d5f2e20022264e9f
Author: Jérémie Courrèges-Anglas <jca@wxcvbn.org>
Date:   Tue Apr 16 11:09:42 2013 +0200

    workaround for systems not providing pselect

    using a mix of good old select and sigprocmask

    Signed-off-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org>

commit fbd2d184fb37a10ec7199ba72e83d4274a605387
Author: Andrew Chin <achin@eminence32.net>
Date:   Sat Mar 30 23:26:52 2013 -0400

    In the OSX build script, link with system libs.

    Previously, mosh was linking with macports-provided libs in
    /opt/local/lib, which was not portable to users without macports

    Closes #411

commit 8ff636d54e7fbb73a334f0b268239a593b0d7b42
Author: Anders Kaseorg <andersk@mit.edu>
Date:   Tue Apr 9 18:04:43 2013 -0400

    Work around automake bug that dropped portability warnings

    There’s a bug in automake ≥ 1.10, < 1.12 where ‘-Wall foreign’
    incorrectly turns off warnings about portability issues.  To get
    consistent results across automake versions, use ‘foreign -Wall’
    instead.

    http://debbugs.gnu.org/cgi-bin/bugreport.cgi?bug=7669

    Signed-off-by: Anders Kaseorg <andersk@mit.edu>

    Closes #413

commit fb39fe2c7ed9fd09f3a6b5eaa7484aa743b82f16
Author: Anton Lundin <glance@acc.umu.se>
Date:   Tue Jan 22 20:29:01 2013 +0100

    Simplify pipe management

    We don't need to write perl like C.

commit 1b9915fcaf6205f718433b904618e1e5a4602c66
Author: Keith Winstein <keithw@mit.edu>
Date:   Wed Mar 27 18:34:21 2013 -0400

    Bump version to 1.2.4a

commit 9669178f07e3fe0b24f8982164ff4ee218db2515
Author: Keith Winstein <keithw@mit.edu>
Date:   Wed Mar 27 15:21:20 2013 -0400

    Eliminate ocb.cc test program (closes #408)

    This test doesn't return an error on failure and also was triggering a
    stack protector warning on some platforms. We have an end-to-end test of
    OCB in src/tests/ocb-aes.cc that seems to work well.

commit 4a37359704dacd2b86b332432ee54f3e1dfd833d
Author: Alexander Chernyakhovsky <achernya@mit.edu>
Date:   Wed Mar 27 14:49:58 2013 -0400

    Update mosh.spec for mosh 1.2.4

commit 172b1e5cef4cba12de2b3010eb3b21be9c60f9f6
Author: Alexander Chernyakhovsky <achernya@mit.edu>
Date:   Wed Mar 27 02:15:25 2013 -0400

    Cast time_elapsed to int before calling human_readable_duration

    When attempting to build againt EPEL 5, it was noticed that
    human_readable_duration expects an int, but time_elapsed is an
    integer.  Explicitly static_cast<int>( time_elapsed ) to appease older
    compilers.

commit 688bf21b079c7adf30b87e0f4d8b75e709d5d161
Author: Keith Winstein <keithw@mit.edu>
Date:   Wed Mar 27 00:28:47 2013 -0400

    Bump version to 1.2.4

commit 61c6ee60118986aa1829f2ce868cedeabab5f341
Author: Keith Winstein <keithw@mit.edu>
Date:   Wed Mar 27 00:26:59 2013 -0400

    Send SIGSTOP to whole process group on suspend (closes #401)